package com.hospital.ssm.service;

import com.hospital.ssm.model.HospitalType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HospitalTypeService {

    List<HospitalType> hospitalTypeList(Integer id) throws Exception;

    int hospitalTypeAdd(HospitalType hospitalType) throws Exception;

    int hospitalTypeDelete(Integer id) throws Exception;

    int hospitalTypeUpdate(@Param("hospitalType") HospitalType hospitalType) throws Exception;

    int hospitalTypeUpdatehtStatus(@Param("hospitalType") HospitalType hospitalType) throws Exception;
}
